<?xml version="1.0"?>

<st-source>
<time-stamp>From VisualWorks® NonCommercial, 7.5 of April 16, 2007 on October 19, 2007 at 12:20:28 pm</time-stamp>


<class>
<name>SpaceTrader</name>
<environment>SpaceTrader</environment>
<super>Core.Object</super>
<private>false</private>
<indexed-type>none</indexed-type>
<inst-vars>planets player </inst-vars>
<class-inst-vars></class-inst-vars>
<imports></imports>
<category>SpaceTrader</category>
<attributes>
<package>SpaceTrader</package>
</attributes>
</class>

<!-- -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -   -->


<methods>
<class-id>SpaceTrader.SpaceTrader class</class-id> <category>instance creation</category>

<body package="SpaceTrader" selector="new">new
	"Answer a newly created and initialized instance."

	^super new initialize</body>
</methods>

<!-- -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -   -->


<methods>
<class-id>SpaceTrader.SpaceTrader</class-id> <category>storing</category>

<body package="SpaceTrader" selector="loadGame">loadGame
	"do stuff"</body>

<body package="SpaceTrader" selector="saveGame">saveGame
	"do stuff"</body>
</methods>

<methods>
<class-id>SpaceTrader.SpaceTrader</class-id> <category>accessing</category>

<body package="SpaceTrader" selector="planets">planets
	^planets</body>

<body package="SpaceTrader" selector="planets:">planets: anObject
	planets := anObject</body>

<body package="SpaceTrader" selector="player">player
	^player</body>

<body package="SpaceTrader" selector="player:">player: anObject
	player := anObject</body>
</methods>

<methods>
<class-id>SpaceTrader.SpaceTrader</class-id> <category>initialize-release</category>

<body package="SpaceTrader" selector="createPlanets">createPlanets
	"add a bunch of planets to the planets collection"
	</body>

<body package="SpaceTrader" selector="createPlayer">createPlayer
	"create and init a player given their name etc"</body>

<body package="SpaceTrader" selector="initialize">initialize
	"Initialize a newly created instance. This method must answer the receiver."

	" *** Edit the following to properly initialize instance variables ***"
	planets := nil.
	player := nil.
	" *** And replace this comment with additional initialization code *** "
	^self</body>
</methods>

</st-source>
